#ifndef CHARACTEREDITOR_H_
#define CHARACTEREDITOR_H_

#include "ControlInput.h"

// Declare a structure to hold some context for the event receiver so that it
// has it available inside its OnEvent() method.
struct SAppContext
{
	IrrlichtDevice* device;
	s32				counter;
	IGUIListBox*	listbox;
};

// Define some values that we'll use to identify individual GUI controls.
enum
{
	GUI_ID_QUIT_BUTTON = 101,
	GUI_ID_NEW_WINDOW_BUTTON,
	GUI_ID_FILE_OPEN_BUTTON,
	GUI_ID_TRANSPARENCY_SCROLL_BAR
};



class CharacterEditor : public ControlInput
{
public:
	CharacterEditor(SAppContext& context) : Context(context) { };
	virtual ~CharacterEditor();
	
	virtual bool OnEvent(const SEvent& event);
	
	bool init(IrrlichtDevice* device);
protected:
	IGUIEnvironment* mEnv;
	
private:
	SAppContext& Context;
};

#endif /*CHARACTEREDITOR_H_*/
